package org.yellow.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @author: hy
 * @create: 2024-01-01
 */
@SuppressWarnings({"all"})
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "medicalrecords")
public class medicalrecords {
    @TableId(type = IdType.AUTO)
    private Long PatientId;
    private String PatientName;
    private Date DateOfBirth;
    private String Gender;
    private String DiagnosisName;
    private Date AdmissionDate;
    private Date DischargeDate;
}
